package com.yuantong.xyerp.core.api.service;

import com.yuantong.xyerp.core.api.model.Area;
import com.yuantong.xyerp.core.api.vo.AreaFullVo;

import java.util.List;

public interface IAreaService {
    /**
     * 根据提供的区域代码返回完整的省市区结构的区域信息
     * @param areaCode
     * @return
     */
    AreaFullVo getFullArea(String areaCode);

    List<Area> listProvinces();
    List<Area> listCities(String provinceCode);
    List<Area> listDistricts(String cityCode);

    List<String> findAreaNameByCodes(List<String> codes);
}
